package com.gaojian.topic.one;

/**
 * 实现Runnable接口创建线程
 * @author gaojian
 * @version 2024-1-16
 */
public class GaoRunnable implements Runnable{

    public static void main(String[] args) {
        final Thread thread = new Thread(new GaoRunnable());
        thread.start();
    }

    @Override
    public void run() {
        System.out.println("Hello Runnable");
    }
}
